angular.module('app.templates', ['partials/baseinfo/add_score_record.html', 'partials/baseinfo/add_user-modal.html', 'partials/baseinfo/area-modal.html', 'partials/baseinfo/location-modal.html', 'partials/baseinfo/location.html', 'partials/baseinfo/logistics_list.html', 'partials/baseinfo/material_list.html', 'partials/baseinfo/material-modal.html', 'partials/baseinfo/order_record.html', 'partials/baseinfo/password-modal.html', 'partials/baseinfo/score_record.html', 'partials/baseinfo/update_user-modal.html', 'partials/baseinfo/user_list.html', 'partials/confirm/confirm_comment.html', 'partials/confirm/confirm.html', 'partials/event/add_event.html', 'partials/event/event_list.html', 'partials/home/home.html', 'partials/order/list.html', 'partials/setting/setting.html']);

angular.module("partials/baseinfo/add_score_record.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/baseinfo/add_score_record.html",
    "<div class=\"modal-header\">\n" +
    "    <h4 class=\"modal-title\">{{title}}</h4>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-body\">\n" +
    "    <form class=\"form-horizontal\" name=\"addMaterialForm\" novalidate ng-submit=\"ok()\">\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">积分数</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\"\n" +
    "                        placeholder=\"请输入积分数量(扣除输入负数)\" name =\"score\"\n" +
    "                        ng-model=\"recordDetail.score\" required>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "\n" +
    "    </form>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-footer\">\n" +
    "    <div class=\"row\">\n" +
    "        <div class=\"col-xs-4 col-xs-offset-1\">\n" +
    "            <button class=\"btn btn-default btn-action\" ng-click=\"cancel()\">取 消</button>\n" +
    "        </div>\n" +
    "        <div class=\"col-xs-2\"></div>\n" +
    "        <div class=\"col-xs-4\">\n" +
    "            <button class=\"btn btn-primary btn-action\" ng-disabled=\"!addMaterialForm.$valid\" ng-click=\"save()\">\n" +
    "                保  存\n" +
    "            </button>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/baseinfo/add_user-modal.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/baseinfo/add_user-modal.html",
    "<div class=\"modal-header\">\n" +
    "    <h4 class=\"modal-title\">添加用户</h4>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-body\">\n" +
    "    <form class=\"form-horizontal\" name=\"userForm\" novalidate ng-submit=\"addUser()\">\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">部门</label>\n" +
    "\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <ui-select ng-model=\"user.department\" theme=\"bootstrap\" onfocus=\"false\"\n" +
    "                           on-select=\"selectDepartment($select.selected);\" required>\n" +
    "                    <ui-select-match placeholder=\"选择部门\">{{$select.selected.name}}</ui-select-match>\n" +
    "                    <ui-select-choices\n" +
    "                            repeat=\"d in departments | filter: $select.search\">\n" +
    "                        <div ng-bind-html=\"d.name | highlight: $select.search\"></div>\n" +
    "                    </ui-select-choices>\n" +
    "                </ui-select>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\" ng-if=\"user.department.name.trim()=='运输公司'\">\n" +
    "            <label class=\"col-sm-3 \">运输公司</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <ui-select ng-model=\"user.userName\" theme=\"bootstrap\" onfocus=\"false\"\n" +
    "                           on-select=\"selectShipCompany($select.selected);\" required>\n" +
    "                    <ui-select-match placeholder=\"选择运输公司\">{{$select.selected}}</ui-select-match>\n" +
    "                    <ui-select-choices\n" +
    "                            repeat=\"sc in user.shipCompanies | filter: $select.search\">\n" +
    "                        <div ng-bind=\"sc | highlight: $select.search\"></div>\n" +
    "                    </ui-select-choices>\n" +
    "                </ui-select>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">登录名</label>\n" +
    "\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input type=\"text\" class=\"form-control\" ng-model=\"user.userId\"\n" +
    "                       placeholder=\"请输入登录名\" required>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\" ng-if=\"user.department.name.trim()!='运输公司'\">\n" +
    "            <label class=\"col-sm-3 \">用户名</label>\n" +
    "\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input type=\"text\" class=\"form-control\" ng-model=\"user.userName\"\n" +
    "                       placeholder=\"请输入用户名\" required>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">密码</label>\n" +
    "\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input type=\"password\" class=\"form-control\" ng-model=\"user.userPassword\"\n" +
    "                       placeholder=\"请输入密码\" required>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">确认密码</label>\n" +
    "\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input type=\"password\" class=\"form-control\" ng-model=\"user.confirmPassword\"\n" +
    "                       placeholder=\"请再次输入密码\" required>\n" +
    "                <span style=\"color: red\" ng-show=\"user.userPassword!=user.confirmPassword\">两次密码不一致</span>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "    </form>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-footer\">\n" +
    "    <div class=\"row\">\n" +
    "        <div class=\"col-xs-4 col-xs-offset-1\">\n" +
    "            <button class=\"btn btn-default btn-action\" ng-click=\"cancel()\">取 消</button>\n" +
    "        </div>\n" +
    "        <div class=\"col-xs-2\"></div>\n" +
    "        <div class=\"col-xs-4\">\n" +
    "            <button class=\"btn btn-primary btn-action\" ng-disabled=\"loading||!userForm.$valid\" ng-click=\"addUser()\">\n" +
    "                确 定\n" +
    "            </button>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/baseinfo/area-modal.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/baseinfo/area-modal.html",
    "<div class=\"modal-header\">\n" +
    "    <h4 class=\"modal-title\">添加区域</h4>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-body\">\n" +
    "    <form class=\"form-horizontal\" name=\"addAreaForm\" novalidate ng-submit=\"ok()\">\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">区域名称</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"area.name\"\n" +
    "                        placeholder=\"请输入区域名称\" required>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "    </form>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-footer\">\n" +
    "    <div class=\"row\">\n" +
    "        <div class=\"col-xs-4 col-xs-offset-1\">\n" +
    "            <button class=\"btn btn-default btn-action\" ng-click=\"cancel()\">取 消</button>\n" +
    "        </div>\n" +
    "        <div class=\"col-xs-2\"></div>\n" +
    "        <div class=\"col-xs-4\">\n" +
    "            <button class=\"btn btn-primary btn-action\" ng-disabled=\"loading||!addAreaForm.$valid\" ng-click=\"ok()\">\n" +
    "                确 定\n" +
    "            </button>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/baseinfo/location-modal.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/baseinfo/location-modal.html",
    "<div class=\"modal-header\">\n" +
    "    <h4 class=\"modal-title\">添加库位</h4>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-body\">\n" +
    "    <form class=\"form-horizontal\" name=\"addLocationForm\" novalidate ng-submit=\"ok()\">\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">区域</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <ui-select ng-model=\"location.areaCode\" theme=\"bootstrap\"\n" +
    "                           on-select=\"selectAreaCode($select.selected);\" required>\n" +
    "                    <ui-select-match placeholder=\"选择区域\">{{$select.selected.name}}</ui-select-match>\n" +
    "                    <ui-select-choices\n" +
    "                            repeat=\"areaCode in location.areaCodes | filter: $select.search\">\n" +
    "                        <div ng-bind-html=\"areaCode.name | highlight: $select.search\"></div>\n" +
    "                    </ui-select-choices>\n" +
    "                </ui-select>\n" +
    "            </div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">库位</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"location.location\"\n" +
    "                       placeholder=\"请输入库位\" required>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "    </form>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-footer\">\n" +
    "    <div class=\"row\">\n" +
    "        <div class=\"col-xs-4 col-xs-offset-1\">\n" +
    "            <button class=\"btn btn-default btn-action\" ng-click=\"cancel()\">取 消</button>\n" +
    "        </div>\n" +
    "        <div class=\"col-xs-2\"></div>\n" +
    "        <div class=\"col-xs-4\">\n" +
    "            <button class=\"btn btn-primary btn-action\" ng-disabled=\"loading||!addLocationForm.$valid\" ng-click=\"ok()\">\n" +
    "                确 定\n" +
    "            </button>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/baseinfo/location.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/baseinfo/location.html",
    "<div class=\"page\">\n" +
    "\n" +
    "    <div class=\"row\">\n" +
    "\n" +
    "        <div class=\"col-md-8\">\n" +
    "            <div class=\"box box-primary\" style=\"min-height:500px\">\n" +
    "                <div class=\"box-body\">\n" +
    "                    <div class=\"action-bar\">\n" +
    "                        <div class=\"row\">\n" +
    "                            <div class=\"col-sm-8\">\n" +
    "                                <form>\n" +
    "                                    <div class=\"row\">\n" +
    "                                        <div class=\"col-sm-4\">\n" +
    "                                            <ui-select ng-model=\"location.areaCode\" theme=\"bootstrap\" onfocus=\"false\"\n" +
    "                                                       on-select=\"selectAreaCode($select.selected);\" required>\n" +
    "                                                <ui-select-match placeholder=\"选择区域\">{{$select.selected.name}}</ui-select-match>\n" +
    "                                                <ui-select-choices\n" +
    "                                                        repeat=\"areaCode in areaCodes | filter: $select.search\">\n" +
    "                                                    <div ng-bind-html=\"areaCode.name | highlight: $select.search\"></div>\n" +
    "                                                </ui-select-choices>\n" +
    "                                            </ui-select>\n" +
    "                                        </div>\n" +
    "                                        <div class=\"col-sm-5\">\n" +
    "                                            <input type=\"text\" class=\"form-control\"\n" +
    "                                                   placeholder=\"请输入查询条件\"\n" +
    "                                                   ng-model=\"query\"/>\n" +
    "                                        </div>\n" +
    "                                        <div class=\"col-sm-3\">\n" +
    "                                            <button class=\"btn btn-primary\" ng-click=\"searchLocation()\">\n" +
    "                                                查询\n" +
    "                                            </button>\n" +
    "                                        </div>\n" +
    "                                    </div>\n" +
    "                                </form>\n" +
    "                            </div>\n" +
    "                            <div class=\"col-sm-4\">\n" +
    "                                <button class=\"btn btn-success pull-right\" ng-click=\"addLocation()\" btn-auth=\"location.post\">\n" +
    "                                    增加库位\n" +
    "                                </button>\n" +
    "                            </div>\n" +
    "                        </div>\n" +
    "                    </div>\n" +
    "                    <div ng-if=\"locations.length<=0\" class=\"nodata\"></div>\n" +
    "                    <table class=\"table table-hover\" ng-if=\"locations.length>0\">\n" +
    "                        <thead>\n" +
    "                            <tr>\n" +
    "                                <th>序号</th>\n" +
    "                                <th class=\"text-center\">区域</th>\n" +
    "                                <th class=\"text-center\">库位</th>\n" +
    "                                <th class=\"text-right\">操作</th>\n" +
    "                            </tr>\n" +
    "                        </thead>\n" +
    "                        <tbody>\n" +
    "                            <tr ng-repeat=\"location in locations\" >\n" +
    "                                <td>{{$index+1}}</td>\n" +
    "                                <td class=\"text-center\">\n" +
    "                                    {{location.areaCode}}\n" +
    "                                </td>\n" +
    "                                <td class=\"text-center\">\n" +
    "                                    {{location.location}}\n" +
    "                                </td>\n" +
    "                                <td  class=\"text-right\">\n" +
    "                                    <button class=\"btn btn-danger btn-md\" ng-click=\"deleteLocation(location)\"\n" +
    "                                            btn-auth=\"location.delete\">删除</button>\n" +
    "                                </td>\n" +
    "                            </tr>\n" +
    "                        </tbody>\n" +
    "                    </table>\n" +
    "\n" +
    "                    <div class=\"text-center\">\n" +
    "                        <pagination total-items=\"pager.totalItems\" ng-model=\"pager.pageNo\"\n" +
    "                                    ng-if=\"pager.totalItems>pager.pageSize\"\n" +
    "                                    items-per-page=\"pager.pageSize\" ng-change=\"getLocation()\"\n" +
    "                                    previous-text=\"上一页\" next-text=\"下一页\" max-size=\"3\"></pagination>\n" +
    "                    </div>\n" +
    "                </div>\n" +
    "            </div>\n" +
    "\n" +
    "        </div>\n" +
    "\n" +
    "        <div class=\"col-md-4\">\n" +
    "            <div class=\"box box-default\">\n" +
    "                <div class=\"box-body\">\n" +
    "                    <div class=\"action-bar\">\n" +
    "                        <div class=\"row\">\n" +
    "                            <div class=\"col-sm-8\">\n" +
    "                                <!-- <form>\n" +
    "                                     <div class=\"row\">\n" +
    "                                         <div class=\"col-sm-8\">\n" +
    "                                             <input type=\"text\" class=\"form-control\"\n" +
    "                                                    placeholder=\"请输入查询条件\"\n" +
    "                                                    ng-model=\"search\"/>\n" +
    "                                         </div>\n" +
    "                                         <div class=\"col-sm-4\">\n" +
    "                                             <button class=\"btn btn-primary\" ng-click=\"searchArea()\">\n" +
    "                                                 查询\n" +
    "                                             </button>\n" +
    "                                         </div>\n" +
    "                                     </div>\n" +
    "                                 </form>-->\n" +
    "                            </div>\n" +
    "                            <div class=\"col-sm-4\">\n" +
    "                                <button class=\"btn btn-success pull-right\" ng-click=\"addArea()\" btn-auth=\"location.post\">\n" +
    "                                    增加区域\n" +
    "                                </button>\n" +
    "                            </div>\n" +
    "                        </div>\n" +
    "                    </div>\n" +
    "                    <div ng-if=\"areas.length<=0\" class=\"nodata\"></div>\n" +
    "                    <table class=\"table table-hover\" ng-if=\"areas.length>0\">\n" +
    "                        <thead>\n" +
    "                        <tr>\n" +
    "                            <th>序号</th>\n" +
    "                            <th class=\"text-center\">区域</th>\n" +
    "                            <th class=\"text-right\">操作</th>\n" +
    "                        </tr>\n" +
    "                        </thead>\n" +
    "                        <tbody>\n" +
    "                        <tr ng-repeat=\"area in areas\" >\n" +
    "                            <td>{{$index+1}}</td>\n" +
    "                            <td class=\"text-center\">\n" +
    "                                {{area.name}}\n" +
    "                            </td>\n" +
    "                            <td  class=\"text-right\">\n" +
    "                                <button class=\"btn btn-danger btn-md\" ng-click=\"deleteArea(area)\" btn-auth=\"location.delete\">删除</button>\n" +
    "                            </td>\n" +
    "                        </tr>\n" +
    "                        </tbody>\n" +
    "                    </table>\n" +
    "\n" +
    "                    <!-- <div class=\"text-center\">\n" +
    "                         <pagination total-items=\"pager1.totalItems\" ng-model=\"pager1.pageNo\"\n" +
    "                                     ng-if=\"pager1.totalItems>pager1.pageSize\"\n" +
    "                                     items-per-page=\"pager1.pageSize\" ng-change=\"getAreas()\"\n" +
    "                                     previous-text=\"上一页\" next-text=\"下一页\" max-size=\"3\"></pagination>\n" +
    "                     </div>-->\n" +
    "                </div>\n" +
    "            </div>\n" +
    "        </div>\n" +
    "\n" +
    "    </div>\n" +
    "\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"col-sm-12 col-lg-8 \">\n" +
    "\n" +
    "</div>\n" +
    "<div class=\"page company col-sm-12 col-lg-4 \">\n" +
    "\n" +
    "</div>");
}]);

angular.module("partials/baseinfo/logistics_list.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/baseinfo/logistics_list.html",
    "<div class=\"page company\">\n" +
    "    <div class=\"action-bar\">\n" +
    "        <div class=\"row\">\n" +
    "                <div class=\"col-sm-8\">\n" +
    "                    <form>\n" +
    "                        <div class=\"row\">\n" +
    "                            <div class=\"col-sm-4\">\n" +
    "                                <input type=\"text\" class=\"form-control\"\n" +
    "                                       placeholder=\"请输入查询条件\"\n" +
    "                                       ng-model=\"query\"/>\n" +
    "                            </div>\n" +
    "                            <div class=\"col-sm-4\">\n" +
    "                                <button class=\"btn btn-primary\" ng-click=\"searchLogistics()\">\n" +
    "                                    查询\n" +
    "                                </button>\n" +
    "                            </div>\n" +
    "                        </div>\n" +
    "                    </form>\n" +
    "                </div>\n" +
    "                <div class=\"col-sm-4\">\n" +
    "                    <button class=\"btn btn-success pull-right\" ng-click=\"addLogistics()\">\n" +
    "                        增加运输公司\n" +
    "                    </button>\n" +
    "                </div>\n" +
    "            </div>\n" +
    "        </div>\n" +
    "\n" +
    "\n" +
    "    <div class=\"panel page-content\">\n" +
    "        <div ng-if=\"logistics.length<=0\" class=\"nodata\"></div>\n" +
    "        <table class=\"table table-hover\" ng-if=\"logistics.length>0\">\n" +
    "            <thead>\n" +
    "            <tr>\n" +
    "                <th >公司名</th>\n" +
    "                <th >地址</th>\n" +
    "                <th >用户名</th>\n" +
    "                <th >联系人</th>\n" +
    "                <th >电话</th>\n" +
    "                <th >操作</th>\n" +
    "            </tr>\n" +
    "            </thead>\n" +
    "            <tbody>\n" +
    "            <tr ng-repeat=\"l in logistics\">\n" +
    "                <td >{{l.companyName}}</td>\n" +
    "                <td>\n" +
    "                    {{l.address}}\n" +
    "                </td>\n" +
    "                <td >\n" +
    "                    {{l.userId}}\n" +
    "                </td>\n" +
    "                <td >\n" +
    "                    {{l.contactName}}\n" +
    "                </td>\n" +
    "                <td >\n" +
    "                    {{l.contactPhone}}\n" +
    "                </td>\n" +
    "                <td >\n" +
    "                    <button class=\"btn btn-primary btn-md\" ng-click=\"updateLogistics(l)\">编辑</button>\n" +
    "                    <button class=\"btn btn-danger btn-md\" ng-click=\"deleteLogistics(l)\">删除</button>\n" +
    "                </td>\n" +
    "            </tr>\n" +
    "            </tbody>\n" +
    "        </table>\n" +
    "    <div class=\"text-center\">\n" +
    "        <pagination total-items=\"pager.totalItems\" ng-model=\"pager.pageNo\"\n" +
    "                    ng-if=\"pager.totalItems>pager.pageSize\"\n" +
    "                    items-per-page=\"pager.pageSize\" ng-change=\"getLogistics()\"\n" +
    "                    previous-text=\"上一页\" next-text=\"下一页\" max-size=\"3\"></pagination>\n" +
    "    </div>\n" +
    "</div>\n" +
    "</div>\n" +
    "");
}]);

angular.module("partials/baseinfo/material_list.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/baseinfo/material_list.html",
    "<div class=\"page company\">\n" +
    "    <div class=\"action-bar\">\n" +
    "        <div class=\"row\">\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <form>\n" +
    "                    <div class=\"row\">\n" +
    "                        <div class=\"col-sm-4\">\n" +
    "                            <ui-select ng-model=\"content.skuClass\" theme=\"bootstrap\" onfocus=\"false\"\n" +
    "                                       on-select=\"selectSkuClass($select.selected);\" required>\n" +
    "                                <ui-select-match placeholder=\"选择分类\">{{$select.selected.classDescription}}</ui-select-match>\n" +
    "                                <ui-select-choices\n" +
    "                                        repeat=\"sc in skuClasses | filter: $select.search\">\n" +
    "                                    <div ng-bind-html=\"sc.classDescription | highlight: $select.search\"></div>\n" +
    "                                </ui-select-choices>\n" +
    "                            </ui-select>\n" +
    "                        </div>\n" +
    "                        <div class=\"col-sm-4\">\n" +
    "                            <input type=\"text\" class=\"form-control\"\n" +
    "                                   placeholder=\"请输入查询条件\"\n" +
    "                                   ng-model=\"query\"/>\n" +
    "                        </div>\n" +
    "                        <div class=\"col-sm-4\">\n" +
    "                            <button class=\"btn btn-primary\" ng-click=\"searchMaterials()\">\n" +
    "                                查询\n" +
    "                            </button>\n" +
    "                        </div>\n" +
    "                    </div>\n" +
    "                </form>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-4\">\n" +
    "                <button class=\"btn btn-success pull-right\" ng-click=\"addMaterial()\" btn-auth=\"material.post\">\n" +
    "                    增加物料\n" +
    "                </button>\n" +
    "            </div>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"panel page-content\">\n" +
    "    <div ng-if=\"materials.length<=0\" class=\"nodata\"></div>\n" +
    "    <table class=\"table table-hover\" ng-if=\"materials.length>0\">\n" +
    "        <thead>\n" +
    "        <tr>\n" +
    "            <th>SAP号</th>\n" +
    "            <th>物料分类</th>\n" +
    "            <th>物料号</th>\n" +
    "            <th>物料描述</th>\n" +
    "            <th>英文名</th>\n" +
    "            <th>包装方式</th>\n" +
    "            <th>包装尺寸</th>\n" +
    "            <th>重量</th>\n" +
    "           <!-- <th>简写</th>\n" +
    "            <th>毛重</th>\n" +
    "            <th>净重</th>-->\n" +
    "            <th class=\"text-right\">操作</th>\n" +
    "        </tr>\n" +
    "        </thead>\n" +
    "        <tbody>\n" +
    "        <tr ng-repeat=\"material in materials\">\n" +
    "            <td>\n" +
    "                {{material.sku}}\n" +
    "            </td>\n" +
    "            <td>{{material.skuClass}}</td>\n" +
    "            <td>\n" +
    "                {{material.packCode}}\n" +
    "            </td>\n" +
    "\n" +
    "            <td>{{material.skuName}}</td>\n" +
    "            <td>{{material.englishName}}</td>\n" +
    "            <td>{{material.packMethod}}</td>\n" +
    "            <td>{{material.packSize}}</td>\n" +
    "            <td>{{material.packWeight}}</td>\n" +
    "           <!-- <td>{{material.shortName}}</td>\n" +
    "            <td>{{material.grossWeight}}</td>\n" +
    "            <td>{{material.netWeight}}</td>-->\n" +
    "            <td class=\"text-right\" width=\"160\">\n" +
    "                <button class=\"btn btn-primary btn-md mr10\" ng-click=\"updateMaterial(material)\" btn-auth=\"material.post\">编辑</button>\n" +
    "                <button class=\"btn btn-danger btn-md\" ng-click=\"deleteMaterial(material)\" btn-auth=\"material.delete\">删除</button>\n" +
    "            </td>\n" +
    "        </tr>\n" +
    "        </tbody>\n" +
    "    </table>\n" +
    "\n" +
    "    <div class=\"text-center\">\n" +
    "        <pagination total-items=\"pager.totalItems\" ng-model=\"pager.pageNo\"\n" +
    "                    ng-if=\"pager.totalItems>pager.pageSize\"\n" +
    "                    items-per-page=\"pager.pageSize\" ng-change=\"getMaterials()\"\n" +
    "                    previous-text=\"上一页\" next-text=\"下一页\" max-size=\"3\"></pagination>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/baseinfo/material-modal.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/baseinfo/material-modal.html",
    "<div class=\"modal-header\">\n" +
    "    <h4 class=\"modal-title\">{{title}}</h4>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-body\">\n" +
    "    <form class=\"form-horizontal\" name=\"addMaterialForm\" novalidate ng-submit=\"ok()\">\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">物料分类</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <ui-select ng-model=\"material.skuClass\" theme=\"bootstrap\"\n" +
    "                           on-select=\"selectSkuClass($select.selected);\" required>\n" +
    "                    <ui-select-match placeholder=\"选择物料分类\">{{$select.selected.classDescription}}</ui-select-match>\n" +
    "                    <ui-select-choices\n" +
    "                            repeat=\"skuClass in skuClasses | filter: $select.search\">\n" +
    "                        <div ng-bind-html=\"skuClass.classDescription | highlight: $select.search\"></div>\n" +
    "                    </ui-select-choices>\n" +
    "                </ui-select>\n" +
    "            </div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">物料号</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"material.packCode\"\n" +
    "                       placeholder=\"请输入物料号\" required>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">SAP号</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"material.sku\"\n" +
    "                        placeholder=\"请输入SAP号\" required ng-disabled=\"edit\">\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">物料描述</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"material.skuName\"\n" +
    "                        placeholder=\"请输入物料描述\">\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">英文名</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"material.englishName\"\n" +
    "                        placeholder=\"请输入英文名\">\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">包装方式</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <ui-select ng-model=\"material.packMethod\" theme=\"bootstrap\"\n" +
    "                           on-select=\"selectPackMethod($select.selected);\" required>\n" +
    "                    <ui-select-match placeholder=\"选择包装方式\">{{$select.selected}}</ui-select-match>\n" +
    "                    <ui-select-choices\n" +
    "                            repeat=\"pack in packs | filter: $select.search\">\n" +
    "                        <div ng-bind=\"pack | highlight: $select.search\"></div>\n" +
    "                    </ui-select-choices>\n" +
    "                </ui-select>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">包装尺寸</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"material.packSize\"\n" +
    "                        placeholder=\"请输入包装尺寸\">\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">重量</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"material.packWeight\"\n" +
    "                        placeholder=\"请输入重量\">\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <!--<div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">简写</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"material.shortName\"\n" +
    "                        placeholder=\"请输入简写\">\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">毛重</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"material.grossWeight\"\n" +
    "                        placeholder=\"请输入毛重\">\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">净重</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"material.netWeight\"\n" +
    "                        placeholder=\"请输入净重\">\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">长</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"material.skuLen\"\n" +
    "                        placeholder=\"请输入长\" >\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">宽</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"material.skuWidth\"\n" +
    "                        placeholder=\"请输入宽\" >\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">高</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"material.skuHeigth\"\n" +
    "                        placeholder=\"请输入高\">\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>-->\n" +
    "    </form>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-footer\">\n" +
    "    <div class=\"row\">\n" +
    "        <div class=\"col-xs-4 col-xs-offset-1\">\n" +
    "            <button class=\"btn btn-default btn-action\" ng-click=\"cancel()\">取 消</button>\n" +
    "        </div>\n" +
    "        <div class=\"col-xs-2\"></div>\n" +
    "        <div class=\"col-xs-4\">\n" +
    "            <button class=\"btn btn-primary btn-action\" ng-disabled=\"loading||!addMaterialForm.$valid\" ng-click=\"ok()\">\n" +
    "                确 定\n" +
    "            </button>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/baseinfo/order_record.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/baseinfo/order_record.html",
    "<div class=\"so\">\n" +
    "\n" +
    "    <div class=\"so-top-bar\">\n" +
    "            <i class=\"fa fa-arrow-left fa-2x\"\n" +
    "               ng-click=\"back()\" style=\"position: absolute;left: 30px;Cursor:pointer;\"></i>\n" +
    "        <span class=\"title\">消费记录</span>\n" +
    "    </div>\n" +
    "    <div class=\"action-bar\">\n" +
    "        <div class=\"row\">\n" +
    "            <div class=\"col-sm-12\">\n" +
    "                <form>\n" +
    "                    <div class=\"row\">\n" +
    "                       <!-- <div class=\"col-sm-3\">\n" +
    "                            <input type=\"text\" class=\"form-control\"\n" +
    "                                   placeholder=\"请输入查询条件\"\n" +
    "                                   ng-model=\"query.search\"/>\n" +
    "                        </div>-->\n" +
    "                        <div class=\"col-sm-3\">\n" +
    "                            <input type=\"text\" class=\"form-control\" ng-model-options=\"options\"\n" +
    "                                   is-open=\"startDateOpened\"\n" +
    "                                   datepicker-popup=\"yyyy-MM-dd\" show-button-bar=\"true\"\n" +
    "                                   current-text=\"今天\" clear-text=\"清空\" close-text=\"关闭\"\n" +
    "                                   placeholder=\"开始日期\" ng-click=\"startDateOpened=true\"\n" +
    "                                   ng-model=\"startTime\">\n" +
    "                        </div>\n" +
    "\n" +
    "                        <div class=\"col-sm-3\">\n" +
    "                            <input type=\"text\" class=\"form-control\" ng-model-options=\"options\"\n" +
    "                                   is-open=\"endDateOpened\"\n" +
    "                                   datepicker-popup=\"yyyy-MM-dd\" show-button-bar=\"true\"\n" +
    "                                   current-text=\"今天\" clear-text=\"清空\" close-text=\"关闭\"\n" +
    "                                   placeholder=\"结束日期\" ng-click=\"endDateOpened=true\"\n" +
    "                                   ng-model=\"endTime\">\n" +
    "                        </div>\n" +
    "                        <div class=\"col-sm-3\">\n" +
    "                            <button class=\"btn btn-primary\" ng-click=\"search()\">\n" +
    "                                <i class=\"fa fa-search\"></i>\n" +
    "                                查询\n" +
    "                            </button>\n" +
    "                        </div>\n" +
    "\n" +
    "                    </div>\n" +
    "                </form>\n" +
    "            </div>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "\n" +
    "    <div class=\"row so-content\">\n" +
    "        <!--机组创建出库单-->\n" +
    "        <div class=\"col-md-12\">\n" +
    "            <!--机组/PRS信息 -->\n" +
    "            <!--divProdcutheight-->\n" +
    "            <div class=\"box box-primary\" style=\"min-height: 400px;\">\n" +
    "                <div class=\"box-body\">\n" +
    "                    <!--ng-if=\"productDetails.length>0\"-->\n" +
    "                    <div ng-if=\"orderRecords.length<=0\" class=\"nodata\"></div>\n" +
    "                    <table class=\"table table-hover\" ng-if=\"orderRecords.length>0\">\n" +
    "                        <thead>\n" +
    "                        <tr>\n" +
    "                            <th>用户昵称</th>\n" +
    "                            <th>用户姓名</th>\n" +
    "                            <th>下单时间</th>\n" +
    "                            <th>总金额</th>\n" +
    "                            <th>消耗积分</th>\n" +
    "                            <th>实际支付金额</th>\n" +
    "                            <th>返还积分</th>\n" +
    "                        </tr>\n" +
    "                        </thead>\n" +
    "                        <tbody>\n" +
    "                        <!--ng-repeat=\"pd in partDetails |  orderBy: sortObjectType\"-->\n" +
    "                        <tr ng-repeat=\"pd in orderRecords\">\n" +
    "                            <td>{{pd.user.wxNickname}}</td>\n" +
    "                            <td>{{pd.user.name}}</td>\n" +
    "                            <td>{{pd.orderTime | date:'yyyy-MM-dd HH:mm:ss'}}</td>\n" +
    "                            <td>{{pd.totalMoney | currency:'￥'}}</td>\n" +
    "                            <td>{{pd.useScore}}</td>\n" +
    "                            <td>{{pd.payMoney | currency:'￥'}}</td>\n" +
    "                            <td>{{pd.score}}</td>\n" +
    "                        </tr>\n" +
    "                        </tbody>\n" +
    "                    </table>\n" +
    "\n" +
    "                    <div class=\"text-center\">\n" +
    "                        <pagination total-items=\"pager.totalItems\" ng-model=\"pager.pageNo\"\n" +
    "                                    items-per-page=\"pager.pageSize\" ng-change=\"search()\"\n" +
    "                                    previous-text=\"上一页\" next-text=\"下一页\" max-size=\"3\"></pagination>\n" +
    "                    </div>\n" +
    "                </div>\n" +
    "                <!--endprint-->\n" +
    "            </div>\n" +
    "\n" +
    "        </div>\n" +
    "\n" +
    "    </div>\n" +
    "</div>");
}]);

angular.module("partials/baseinfo/password-modal.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/baseinfo/password-modal.html",
    "<div class=\"modal-header\">\n" +
    "    <h4 class=\"modal-title\">修改密码</h4>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-body\">\n" +
    "    <form class=\"form-horizontal\" name=\"passwordForm\" novalidate ng-submit=\"changePassword()\">\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">原密码</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"password\" class=\"form-control\" ng-model=\"user.oldPassword\"\n" +
    "                        placeholder=\"请输入原密码\" required>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">新密码</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"password\" class=\"form-control\" ng-model=\"user.newPassword\" name=\"newPassword\"\n" +
    "                        placeholder=\"请输入新密码\" required>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">确认新密码</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"password\" class=\"form-control\" ng-model=\"user.confirmPassword\" name=\"confirmPassword\"\n" +
    "                        placeholder=\"请再次输入新密码\" required>\n" +
    "               <span style=\"color: red\" ng-show=\"passwordForm.confirmPassword.$valid\">\n" +
    "                <span ng-show=\"user.newPassword!=user.confirmPassword\">两次密码输入不一致</span>\n" +
    "                     </span>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\">\n" +
    "\n" +
    "            </div>\n" +
    "        </div>\n" +
    "    </form>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-footer\">\n" +
    "    <div class=\"row\">\n" +
    "        <div class=\"col-xs-4 col-xs-offset-1\">\n" +
    "            <button class=\"btn btn-default btn-action\" ng-click=\"cancel()\">取 消</button>\n" +
    "        </div>\n" +
    "        <div class=\"col-xs-2\"></div>\n" +
    "        <div class=\"col-xs-4\">\n" +
    "            <button class=\"btn btn-primary btn-action\" ng-disabled=\"loading||!passwordForm.$valid||\n" +
    "            user.newPassword!=user.confirmPassword\" ng-click=\"changePassword()\">\n" +
    "                确 定\n" +
    "            </button>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/baseinfo/score_record.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/baseinfo/score_record.html",
    "<div class=\"so\">\n" +
    "\n" +
    "    <div class=\"so-top-bar\">\n" +
    "            <i class=\"fa fa-arrow-left fa-2x\"\n" +
    "               ng-click=\"back()\" style=\"position: absolute;left: 30px;Cursor:pointer;\"></i>\n" +
    "        <span class=\"title\">积分记录</span>\n" +
    "    </div>\n" +
    "    <div class=\"action-bar\">\n" +
    "        <div class=\"row\">\n" +
    "            <div class=\"col-sm-12\">\n" +
    "                <form>\n" +
    "                    <div class=\"row\">\n" +
    "                       <!-- <div class=\"col-sm-3\">\n" +
    "                            <input type=\"text\" class=\"form-control\"\n" +
    "                                   placeholder=\"请输入查询条件\"\n" +
    "                                   ng-model=\"query.search\"/>\n" +
    "                        </div>-->\n" +
    "                        <div class=\"col-sm-3\">\n" +
    "                            <input type=\"text\" class=\"form-control\" ng-model-options=\"options\"\n" +
    "                                   is-open=\"startDateOpened\"\n" +
    "                                   datepicker-popup=\"yyyy-MM-dd\" show-button-bar=\"true\"\n" +
    "                                   current-text=\"今天\" clear-text=\"清空\" close-text=\"关闭\"\n" +
    "                                   placeholder=\"开始日期\" ng-click=\"startDateOpened=true\"\n" +
    "                                   ng-model=\"startTime\">\n" +
    "                        </div>\n" +
    "\n" +
    "                        <div class=\"col-sm-3\">\n" +
    "                            <input type=\"text\" class=\"form-control\" ng-model-options=\"options\"\n" +
    "                                   is-open=\"endDateOpened\"\n" +
    "                                   datepicker-popup=\"yyyy-MM-dd\" show-button-bar=\"true\"\n" +
    "                                   current-text=\"今天\" clear-text=\"清空\" close-text=\"关闭\"\n" +
    "                                   placeholder=\"结束日期\" ng-click=\"endDateOpened=true\"\n" +
    "                                   ng-model=\"endTime\">\n" +
    "                        </div>\n" +
    "                        <div class=\"col-sm-3\">\n" +
    "                            <button class=\"btn btn-primary\" ng-click=\"search()\">\n" +
    "                                <i class=\"fa fa-search\"></i>\n" +
    "                                查询\n" +
    "                            </button>\n" +
    "                        </div>\n" +
    "\n" +
    "                        <div class=\"col-sm-3\">\n" +
    "                            <button class=\"btn btn-success pull-right\" ng-click=\"addScore()\">\n" +
    "                                <i class=\"fa fa-plus\"></i>\n" +
    "                                添加积分\n" +
    "                            </button>\n" +
    "                        </div>\n" +
    "                    </div>\n" +
    "                </form>\n" +
    "            </div>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "\n" +
    "    <div class=\"row so-content\">\n" +
    "        <!--机组创建出库单-->\n" +
    "        <div class=\"col-md-12\">\n" +
    "            <!--机组/PRS信息 -->\n" +
    "            <!--divProdcutheight-->\n" +
    "            <div class=\"box box-primary\" style=\"min-height: 400px;\">\n" +
    "                <div class=\"box-body\">\n" +
    "                    <!--ng-if=\"productDetails.length>0\"-->\n" +
    "                    <div ng-if=\"scoreRecords.length<=0\" class=\"nodata\"></div>\n" +
    "                    <table class=\"table table-hover\" ng-if=\"scoreRecords.length>0\">\n" +
    "                        <thead>\n" +
    "                        <tr>\n" +
    "                            <th>记录时间</th>\n" +
    "                            <th>记录类型</th>\n" +
    "                            <th>积分数</th>\n" +
    "                        </tr>\n" +
    "                        </thead>\n" +
    "                        <tbody>\n" +
    "                        <!--ng-repeat=\"pd in partDetails |  orderBy: sortObjectType\"-->\n" +
    "                        <tr ng-repeat=\"pd in scoreRecords\">\n" +
    "                            <td>{{pd.recordTime | date:'yyyy-MM-dd HH:mm:ss'}}</td>\n" +
    "                            <td>\n" +
    "                                <span ng-if=\"pd.type == 1\">消费赠送</span>\n" +
    "                                <span ng-if=\"pd.type == 2\">消费</span>\n" +
    "                                <span ng-if=\"pd.type == 3\">系统赠送</span>\n" +
    "                                <span ng-if=\"pd.type == 4\">系统扣除</span>\n" +
    "                            </td>\n" +
    "                            <td>\n" +
    "                                <span ng-if=\"pd.type == 1 || pd.type == 3\">+ {{pd.score}}</span>\n" +
    "                                <span ng-if=\"pd.type == 2 || pd.type == 4\">- {{pd.score}}</span>\n" +
    "                            </td>\n" +
    "                        </tr>\n" +
    "                        </tbody>\n" +
    "                    </table>\n" +
    "\n" +
    "                    <div class=\"text-center\">\n" +
    "                        <pagination total-items=\"pager.totalItems\" ng-model=\"pager.pageNo\"\n" +
    "                                    items-per-page=\"pager.pageSize\" ng-change=\"search()\"\n" +
    "                                    previous-text=\"上一页\" next-text=\"下一页\" max-size=\"3\"></pagination>\n" +
    "                    </div>\n" +
    "                </div>\n" +
    "                <!--endprint-->\n" +
    "            </div>\n" +
    "\n" +
    "        </div>\n" +
    "\n" +
    "    </div>\n" +
    "</div>");
}]);

angular.module("partials/baseinfo/update_user-modal.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/baseinfo/update_user-modal.html",
    "<div class=\"modal-header\">\n" +
    "    <h4 class=\"modal-title\">编辑用户</h4>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-body\">\n" +
    "    <form class=\"form-horizontal\" name=\"userForm\" novalidate >\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">部门</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <ui-select ng-model=\"user.department\" theme=\"bootstrap\" onfocus=\"false\"\n" +
    "                           on-select=\"selectDepartment($select.selected);\" required>\n" +
    "                    <ui-select-match placeholder=\"选择部门\">{{$select.selected.name}}</ui-select-match>\n" +
    "                    <ui-select-choices\n" +
    "                            repeat=\"d in departments | filter: $select.search\">\n" +
    "                        <div ng-bind-html=\"d.name | highlight: $select.search\"></div>\n" +
    "                    </ui-select-choices>\n" +
    "                </ui-select>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\" ng-if=\"user.department.name.trim()=='运输公司'\">\n" +
    "            <label class=\"col-sm-3 \">运输公司</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <ui-select ng-model=\"user.userName\" theme=\"bootstrap\" onfocus=\"false\"\n" +
    "                           on-select=\"selectShipCompany($select.selected);\" required>\n" +
    "                    <ui-select-match placeholder=\"选择运输公司\">{{$select.selected}}</ui-select-match>\n" +
    "                    <ui-select-choices\n" +
    "                            repeat=\"sc in user.shipCompanies | filter: $select.search\">\n" +
    "                        <div ng-bind=\"sc | highlight: $select.search\"></div>\n" +
    "                    </ui-select-choices>\n" +
    "                </ui-select>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">登录名</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                    <input  type=\"text\" class=\"form-control\" ng-model=\"user.userId\"\n" +
    "                          disabled>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\" ng-if=\"user.department.name.trim()!='运输公司'\">\n" +
    "            <label class=\"col-sm-3 \">用户名</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"user.userName\"\n" +
    "                        placeholder=\"请输入用户名\" required>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "       <!-- <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">邮箱</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"user.email\"\n" +
    "                        placeholder=\"请输入Email\" >\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>-->\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">新密码</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"password\" class=\"form-control\" ng-model=\"user.userPassword\"\n" +
    "                        placeholder=\"请输入新密码\" >\n" +
    "            </div>\n" +
    "\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">确认新密码</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"password\" class=\"form-control\" ng-model=\"user.confirmPassword\"\n" +
    "                        placeholder=\"请再次输入新密码\" >\n" +
    "                <span style=\"color: red\" ng-show=\"user.userPassword!=user.confirmPassword\">两次密码不一致</span>\n" +
    "            </div>\n" +
    "\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "    </form>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-footer\">\n" +
    "    <div class=\"row\">\n" +
    "        <div class=\"col-xs-4 col-xs-offset-1\">\n" +
    "            <button class=\"btn btn-default btn-action\" ng-click=\"cancel()\">取 消</button>\n" +
    "        </div>\n" +
    "        <div class=\"col-xs-2\"></div>\n" +
    "        <div class=\"col-xs-4\">\n" +
    "            <button class=\"btn btn-primary btn-action\" ng-disabled=\"loading||!userForm.$valid||user.userPassword!=user.confirmPassword\" ng-click=\"updateUser()\">\n" +
    "                确 定\n" +
    "            </button>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/baseinfo/user_list.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/baseinfo/user_list.html",
    "<div class=\"page company\">\n" +
    "    <div class=\"action-bar\">\n" +
    "        <div class=\"row\">\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <form>\n" +
    "                    <div class=\"row\">\n" +
    "                        <div class=\"col-sm-4\">\n" +
    "                            <input type=\"text\" class=\"form-control\"\n" +
    "                                   placeholder=\"请输入查询条件\"\n" +
    "                                   ng-model=\"search\"/>\n" +
    "                        </div>\n" +
    "                        <div class=\"col-sm-4\">\n" +
    "                            <button class=\"btn btn-primary\" ng-click=\"searchUser()\">\n" +
    "                                查询\n" +
    "                            </button>\n" +
    "                        </div>\n" +
    "                    </div>\n" +
    "                </form>\n" +
    "            </div>\n" +
    "            <!--<div class=\"col-sm-4\">\n" +
    "                <button class=\"btn btn-success pull-right\" ng-click=\"addUser()\" btn-auth=\"user.post\">\n" +
    "                    增加用户\n" +
    "                </button>\n" +
    "            </div>-->\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"panel page-content\">\n" +
    "    <div ng-if=\"users.length<=0\" class=\"nodata\"></div>\n" +
    "    <table class=\"table table-hover\" ng-if=\"users.length>0\">\n" +
    "        <thead>\n" +
    "        <tr>\n" +
    "            <th>用户名</th>\n" +
    "            <th>真实姓名</th>\n" +
    "            <th>积分</th>\n" +
    "            <th>昵称</th>\n" +
    "            <th>生日</th>\n" +
    "            <th>手机号</th>\n" +
    "            <th>头像</th>\n" +
    "            <!--<th style=\"text-align: center\">邮箱</th>-->\n" +
    "            <th>操作</th>\n" +
    "        </tr>\n" +
    "        </thead>\n" +
    "        <tbody>\n" +
    "        <tr ng-repeat=\"user in users\">\n" +
    "            <td>{{user.userName}}</td>\n" +
    "            <td>{{user.name}}</td>\n" +
    "            <td>{{user.score}}</td>\n" +
    "            <td>\n" +
    "                {{user.wxNickname}}\n" +
    "            </td>\n" +
    "            <td>{{user.birthday | date:\"yyyy-MM-dd\"}}</td>\n" +
    "            <td>{{user.phone}}</td>\n" +
    "            <td>\n" +
    "                <img style=\"width: 50px;height: 50px;\" src=\"{{user.wxHeadimgurl||'img/default-avatar.png'}}\" />\n" +
    "            </td>\n" +
    "            <!-- <td class=\"text-center\">\n" +
    "                 {{user.email}}\n" +
    "             </td>-->\n" +
    "            <td >\n" +
    "                <button class=\"btn btn-success btn-md mr10\" ng-click=\"scoreRecord(user)\" >积分记录</button>\n" +
    "                <button class=\"btn btn-warning btn-md mr10\" ng-click=\"orderRecord(user)\" >消费记录</button>\n" +
    "            </td>\n" +
    "        </tr>\n" +
    "        </tbody>\n" +
    "    </table>\n" +
    "\n" +
    "    <div class=\"text-center\">\n" +
    "        <pagination total-items=\"pager.totalItems\" ng-model=\"pager.pageNo\"\n" +
    "                    items-per-page=\"pager.pageSize\" ng-change=\"searchUser()\"\n" +
    "                    previous-text=\"上一页\" next-text=\"下一页\" max-size=\"3\"></pagination>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/confirm/confirm_comment.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/confirm/confirm_comment.html",
    "<div class=\"modal-header\">\n" +
    "    <h4 class=\"modal-title\">{{title}}</h4>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-body\" style=\"min-height: 100px\">\n" +
    "    <form name=\"deleteForm\" novalidate>\n" +
    "    <div class=\"form-group\">\n" +
    "        <label class=\"col-sm-4 \" style=\"text-align: center\">删除原因</label>\n" +
    "        <div class=\"col-sm-8\">\n" +
    "            <input type=\"text\"  class=\"form-control\" ng-model=\"comment.comment\" placeholder=\"请输入删除原因\" required>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "    </form>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-footer\">\n" +
    "    <div class=\"row\">\n" +
    "        <div class=\"col-xs-4 col-xs-offset-1\">\n" +
    "            <button class=\"btn btn-default btn-action\" ng-click=\"cancel()\">取 消</button>\n" +
    "        </div>\n" +
    "        <div class=\"col-xs-2\"></div>\n" +
    "        <div class=\"col-xs-4\">\n" +
    "            <button class=\"btn btn-primary btn-action\" ng-disabled=\"loading||!deleteForm.$valid\" ng-click=\"ok()\">\n" +
    "                确 定\n" +
    "            </button>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/confirm/confirm.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/confirm/confirm.html",
    "<div class=\"modal-header\">\n" +
    "    <h4 class=\"modal-title\">{{title}}</h4>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-body text-center \" style=\"font-size: 18px\">\n" +
    "    {{content}}\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-footer\">\n" +
    "    <div class=\"row\">\n" +
    "        <div class=\"col-xs-4 col-xs-offset-1\">\n" +
    "            <button class=\"btn btn-default btn-action\" ng-click=\"cancel()\">取 消</button>\n" +
    "        </div>\n" +
    "        <div class=\"col-xs-2\"></div>\n" +
    "        <div class=\"col-xs-4\">\n" +
    "            <button class=\"btn btn-primary btn-action\"  ng-click=\"ok()\">\n" +
    "                确 定\n" +
    "            </button>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/event/add_event.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/event/add_event.html",
    "<div class=\"modal-header\">\n" +
    "    <h4 class=\"modal-title\">{{title}}</h4>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-body\">\n" +
    "    <form class=\"form-horizontal\" name=\"userForm\" novalidate ng-submit=\"addUser()\">\n" +
    "\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">标题</label>\n" +
    "\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input  type=\"text\" class=\"form-control\" ng-model=\"eventDetail.title\">\n" +
    "                <div class=\"col-sm-3\"></div>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">内容</label>\n" +
    "\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <textarea  type=\"text\" class=\"form-control\" ng-model=\"eventDetail.content\"></textarea>\n" +
    "                <div class=\"col-sm-3\"></div>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">开始日期</label>\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input type=\"text\" class=\"form-control\" ng-model-options=\"options\"\n" +
    "                       is-open=\"startDateOpened\"\n" +
    "                       datepicker-popup=\"yyyy-MM-dd\" show-button-bar=\"true\"\n" +
    "                       current-text=\"今天\" clear-text=\"清空\" close-text=\"关闭\"\n" +
    "                       placeholder=\"开始日期\" ng-click=\"startDateOpened=true\"\n" +
    "                       ng-model=\"startTime\">\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "\n" +
    "        <div class=\"form-group\">\n" +
    "            <label class=\"col-sm-3 \">结束日期</label>\n" +
    "\n" +
    "            <div class=\"col-sm-8\">\n" +
    "                <input type=\"text\" class=\"form-control\" ng-model-options=\"options\"\n" +
    "                       is-open=\"endDateOpened\"\n" +
    "                       datepicker-popup=\"yyyy-MM-dd\" show-button-bar=\"true\"\n" +
    "                       current-text=\"今天\" clear-text=\"清空\" close-text=\"关闭\"\n" +
    "                       placeholder=\"结束日期\" ng-click=\"endDateOpened=true\"\n" +
    "                       ng-model=\"endTime\">\n" +
    "                <div class=\"col-sm-3\"></div>\n" +
    "            </div>\n" +
    "            <div class=\"col-sm-3\"></div>\n" +
    "        </div>\n" +
    "\n" +
    "\n" +
    "    </form>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"modal-footer\">\n" +
    "    <div class=\"row\">\n" +
    "        <div class=\"col-xs-4 col-xs-offset-1\">\n" +
    "            <button class=\"btn btn-default btn-action\" ng-click=\"cancel()\">取 消</button>\n" +
    "        </div>\n" +
    "        <div class=\"col-xs-2\"></div>\n" +
    "        <div class=\"col-xs-4\">\n" +
    "            <button class=\"btn btn-primary btn-action\" ng-disabled=\"loading||!userForm.$valid\" ng-click=\"save()\">\n" +
    "                确 定\n" +
    "            </button>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/event/event_list.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/event/event_list.html",
    "<div class=\"page company\">\n" +
    "    <div class=\"action-bar\">\n" +
    "        <div class=\"row\">\n" +
    "            <div class=\"col-sm-12\">\n" +
    "                <form>\n" +
    "                    <div class=\"row\">\n" +
    "                        <div class=\"col-sm-3\">\n" +
    "                            <input type=\"text\" class=\"form-control\"\n" +
    "                                   placeholder=\"请输入查询条件\"\n" +
    "                                   ng-model=\"search\"/>\n" +
    "                        </div>\n" +
    "\n" +
    "                        <div class=\"col-sm-3\">\n" +
    "                            <input type=\"text\" class=\"form-control\" ng-model-options=\"options\"\n" +
    "                                   is-open=\"startDateOpened\"\n" +
    "                                   datepicker-popup=\"yyyy-MM-dd\" show-button-bar=\"true\"\n" +
    "                                   current-text=\"今天\" clear-text=\"清空\" close-text=\"关闭\"\n" +
    "                                   placeholder=\"开始日期\" ng-click=\"startDateOpened=true\"\n" +
    "                                   ng-model=\"startTime\">\n" +
    "                        </div>\n" +
    "\n" +
    "                        <div class=\"col-sm-3\">\n" +
    "                            <input type=\"text\" class=\"form-control\" ng-model-options=\"options\"\n" +
    "                                   is-open=\"endDateOpened\"\n" +
    "                                   datepicker-popup=\"yyyy-MM-dd\" show-button-bar=\"true\"\n" +
    "                                   current-text=\"今天\" clear-text=\"清空\" close-text=\"关闭\"\n" +
    "                                   placeholder=\"结束日期\" ng-click=\"endDateOpened=true\"\n" +
    "                                   ng-model=\"endTime\">\n" +
    "                        </div>\n" +
    "                        <div class=\"col-sm-1\">\n" +
    "                            <button class=\"btn btn-primary\" ng-click=\"searchEvent()\">\n" +
    "                                查询\n" +
    "                            </button>\n" +
    "                        </div>\n" +
    "                        <div class=\"col-sm-2\">\n" +
    "                            <button class=\"btn btn-success pull-right\" ng-click=\"addEvent()\">\n" +
    "                                <i class=\"fa fa-plus\"></i>\n" +
    "                                添加活动\n" +
    "                            </button>\n" +
    "                        </div>\n" +
    "                    </div>\n" +
    "                </form>\n" +
    "            </div>\n" +
    "            <!--<div class=\"col-sm-4\">\n" +
    "                <button class=\"btn btn-success pull-right\" ng-click=\"addUser()\" btn-auth=\"user.post\">\n" +
    "                    增加用户\n" +
    "                </button>\n" +
    "            </div>-->\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"panel page-content\">\n" +
    "    <div ng-if=\"events.length<=0\" class=\"nodata\"></div>\n" +
    "    <table class=\"table table-hover\" ng-if=\"events.length>0\">\n" +
    "        <thead>\n" +
    "        <tr>\n" +
    "            <th>标题</th>\n" +
    "            <th>内容</th>\n" +
    "            <th>开始时间</th>\n" +
    "            <th>结束时间</th>\n" +
    "            <th>操作</th>\n" +
    "        </tr>\n" +
    "        </thead>\n" +
    "        <tbody>\n" +
    "        <tr ng-repeat=\"e in events\">\n" +
    "            <td style=\"max-width: 130px;\">{{e.title}}</td>\n" +
    "            <td style=\"max-width: 300px;\">{{e.content}}</td>\n" +
    "            <td>\n" +
    "                {{e.startTime | date:\"yyyy-MM-dd\"}}\n" +
    "            </td>\n" +
    "            <td>{{e.endTime | date:\"yyyy-MM-dd\"}}</td>\n" +
    "            <td >\n" +
    "                <button class=\"btn btn-success btn-md mr10\" ng-click=\"update(e)\" >编辑</button>\n" +
    "                <button class=\"btn btn-danger btn-md mr10\" ng-click=\"delete(e)\" >删除</button>\n" +
    "            </td>\n" +
    "        </tr>\n" +
    "        </tbody>\n" +
    "    </table>\n" +
    "\n" +
    "    <div class=\"text-center\">\n" +
    "        <pagination total-items=\"pager.totalItems\" ng-model=\"pager.pageNo\"\n" +
    "                    items-per-page=\"pager.pageSize\" ng-change=\"searchEvent()\"\n" +
    "                    previous-text=\"上一页\" next-text=\"下一页\" max-size=\"3\"></pagination>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/home/home.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/home/home.html",
    "<div class=\"home\" home-btn-auth>\n" +
    "    <Button class=\"btn btn-success homebtn\" ng-click=\"go('/order/list')\">\n" +
    "        <i class=\"fa fa-money nav-icon ihead\"></i><br>\n" +
    "        订单管理\n" +
    "    </Button>\n" +
    "    <Button class=\"btn btn-info homebtn\" ng-click=\"go('/event/list')\">\n" +
    "        <i class=\"fa fa-gift nav-icon ihead\"></i><br>\n" +
    "        活动信息\n" +
    "    </Button>\n" +
    "    <Button class=\"btn btn-warning homebtn\" ng-click=\"go('/baseinfo/userInfo')\">\n" +
    "        <i class=\"fa fa-users nav-icon ihead\"></i><br>\n" +
    "        用户信息\n" +
    "    </Button>\n" +
    "    <Button class=\"btn btn-default homebtn\" ng-click=\"go('/setting')\">\n" +
    "        <i class=\"fa fa-gears nav-icon ihead\"></i><br>\n" +
    "        系统设置\n" +
    "    </Button>\n" +
    "\n" +
    "</div>");
}]);

angular.module("partials/order/list.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/order/list.html",
    "<div class=\"page company\">\n" +
    "    <div class=\"action-bar\">\n" +
    "        <div class=\"row\">\n" +
    "            <div class=\"col-sm-12\">\n" +
    "                <form>\n" +
    "                    <div class=\"row\">\n" +
    "                        <div class=\"col-sm-3\">\n" +
    "                            <ui-select ng-model=\"status.selected\" theme=\"bootstrap\">\n" +
    "                                <ui-select-match placeholder=\"确认类型\">{{$select.selected.name}}</ui-select-match>\n" +
    "                                <ui-select-choices\n" +
    "                                        repeat=\"item in statuses | filter: $select.search\">\n" +
    "                                    <div ng-bind-html=\"item.name | highlight: $select.search\"></div>\n" +
    "                                </ui-select-choices>\n" +
    "                            </ui-select>\n" +
    "                        </div>\n" +
    "\n" +
    "                        <div class=\"col-sm-3\">\n" +
    "                            <input type=\"text\" class=\"form-control\" ng-model-options=\"options\"\n" +
    "                                   is-open=\"startDateOpened\"\n" +
    "                                   datepicker-popup=\"yyyy-MM-dd\" show-button-bar=\"true\"\n" +
    "                                   current-text=\"今天\" clear-text=\"清空\" close-text=\"关闭\"\n" +
    "                                   placeholder=\"开始日期\" ng-click=\"startDateOpened=true\"\n" +
    "                                   ng-model=\"startTime\">\n" +
    "                        </div>\n" +
    "\n" +
    "                        <div class=\"col-sm-3\">\n" +
    "                            <input type=\"text\" class=\"form-control\" ng-model-options=\"options\"\n" +
    "                                   is-open=\"endDateOpened\"\n" +
    "                                   datepicker-popup=\"yyyy-MM-dd\" show-button-bar=\"true\"\n" +
    "                                   current-text=\"今天\" clear-text=\"清空\" close-text=\"关闭\"\n" +
    "                                   placeholder=\"结束日期\" ng-click=\"endDateOpened=true\"\n" +
    "                                   ng-model=\"endTime\">\n" +
    "                        </div>\n" +
    "                        <div class=\"col-sm-1\">\n" +
    "                            <button class=\"btn btn-primary\" ng-click=\"searchOrder()\">\n" +
    "                                查询\n" +
    "                            </button>\n" +
    "                        </div>\n" +
    "                    </div>\n" +
    "                </form>\n" +
    "            </div>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "<div class=\"panel page-content\">\n" +
    "    <div ng-if=\"orders.length<=0\" class=\"nodata\"></div>\n" +
    "    <table class=\"table table-hover\" ng-if=\"orders.length>0\">\n" +
    "        <thead>\n" +
    "        <tr>\n" +
    "            <th>用户</th>\n" +
    "            <th>下单时间</th>\n" +
    "            <th>总金额</th>\n" +
    "            <th>使用积分</th>\n" +
    "            <th>支付金额</th>\n" +
    "            <th>操作</th>\n" +
    "        </tr>\n" +
    "        </thead>\n" +
    "        <tbody>\n" +
    "        <tr ng-repeat=\"e in orders\">\n" +
    "            <td>{{e.user.name == null?e.user.wxNickname:e.user.name}}</td>\n" +
    "            <td>{{e.orderTime | date:\"yyyy-MM-dd HH:mm:ss\"}}</td>\n" +
    "            <td>{{e.totalMoney | currency:'￥'}}</td>\n" +
    "            <td>{{e.useScore | number:0}}</td>\n" +
    "            <td>{{e.payMoney | currency:'￥'}}</td>\n" +
    "            <td>\n" +
    "                <button ng-show=\"!e.status\" class=\"btn btn-warning btn-md mr10\" ng-click=\"confirmOrder(e)\">确认收款</button>\n" +
    "                <button ng-show=\"!e.status\" class=\"btn btn-danger btn-md mr10\" ng-click=\"removeOrder(e)\">删除订单</button>\n" +
    "            </td>\n" +
    "        </tr>\n" +
    "        </tbody>\n" +
    "    </table>\n" +
    "\n" +
    "    <div class=\"text-center\">\n" +
    "        <pagination total-items=\"pager.totalItems\" ng-model=\"pager.pageNo\"\n" +
    "                    items-per-page=\"pager.pageSize\" ng-change=\"searchEvent()\"\n" +
    "                    previous-text=\"上一页\" next-text=\"下一页\" max-size=\"3\"></pagination>\n" +
    "    </div>\n" +
    "</div>\n" +
    "\n" +
    "\n" +
    "\n" +
    "\n" +
    "");
}]);

angular.module("partials/setting/setting.html", []).run(["$templateCache", function($templateCache) {
  $templateCache.put("partials/setting/setting.html",
    "<div class=\"page company row\">\n" +
    "    <div class=\"col-md-12 noprint \">\n" +
    "        <div class=\"box box-primary divheight\" ng-style=\"{{height}}\">\n" +
    "            <div class=\"box-body\" style=\"min-height: 400px;\">\n" +
    "                <div class=\"action-bar\">\n" +
    "                    <form>\n" +
    "                        <div class=\"col-sm-12\" style=\"margin-top: 35px\">\n" +
    "                            <label class=\"col-sm-2\" style=\"margin-top: 5px;\">积分（个）：</label>\n" +
    "                            <div class=\"col-sm-6\">\n" +
    "                                <input type=\"number\" class=\"form-control\" max=\"100\" min=\"0\"\n" +
    "                                       placeholder=\"请输入每消费100元，可以兑换多少积分\"\n" +
    "                                       ng-model=\"settingInfo.score\"/>\n" +
    "                            </div>\n" +
    "                            <span style=\"position: absolute;left:20%;top:35px;font-size: 13px;color:darkgrey\">\n" +
    "                                每消费100元，可以兑换多少个积分</span>\n" +
    "                        </div>\n" +
    "\n" +
    "                        <div class=\"col-sm-12\" style=\"margin-top: 35px\">\n" +
    "                            <label class=\"col-sm-2\" style=\"margin-top: 5px;\">兑换比例（元）：</label>\n" +
    "                            <div class=\"col-sm-6\">\n" +
    "                                <input type=\"number\" class=\"form-control\" max=\"100\" min=\"0\"\n" +
    "                                       placeholder=\"请输入100个积分可以兑换多少钱\"\n" +
    "                                       ng-model=\"settingInfo.money\"/>\n" +
    "                            </div>\n" +
    "                            <span style=\"position: absolute;left:20%;top:35px;font-size: 13px;color:darkgrey\">\n" +
    "                                100个积分可以兑换多少元</span>\n" +
    "                        </div>\n" +
    "\n" +
    "                        <div class=\"col-sm-12\" style=\"margin-top: 35px\">\n" +
    "                            <label class=\"col-sm-2\" style=\"margin-top: 5px;\">抵扣比例：</label>\n" +
    "                            <div class=\"col-sm-6\">\n" +
    "                                <input type=\"number\" class=\"form-control\" max=\"100\" min=\"0\"\n" +
    "                                       placeholder=\"支付时，积分抵扣比例\"\n" +
    "                                       ng-model=\"settingInfo.pay\"/>\n" +
    "                            </div>\n" +
    "                            <span style=\"position: absolute;left:20%;top:35px;font-size: 13px;color:darkgrey\">\n" +
    "                                支付时，积分兑换占比例</span>\n" +
    "                        </div>\n" +
    "\n" +
    "                        <div class=\"col-sm-12\" style=\"margin-top: 35px\">\n" +
    "                            <label class=\"col-sm-2\" style=\"margin-top: 5px;\">会员日：</label>\n" +
    "                            <div class=\"col-sm-6\">\n" +
    "                                <input type=\"number\" class=\"form-control\" max=\"31\" min=\"1\"\n" +
    "                                       placeholder=\"会员日\"\n" +
    "                                       ng-model=\"settingInfo.doubleDay\"/>\n" +
    "                            </div>\n" +
    "                            <span style=\"position: absolute;left:20%;top:35px;font-size: 13px;color:darkgrey\">\n" +
    "                                每月的会员日，可以获取双倍积分</span>\n" +
    "                        </div>\n" +
    "\n" +
    "                        <div class=\"col-sm-8 text-center\">\n" +
    "                            <button class=\"btn btn-primary \" style=\"width: 100px;margin-top: 35px;\" ng-click=\"save()\">\n" +
    "                                保存\n" +
    "                            </button>\n" +
    "                        </div>\n" +
    "                    </form>\n" +
    "                </div>\n" +
    "            </div>\n" +
    "        </div>\n" +
    "    </div>\n" +
    "</div>");
}]);
